package com.silence.springboot.vo.input;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * 根据条件查询
 * 作者：silence
 * 时间：2021-09-16 17:59:23
 */
@Data
@Accessors(chain = true)
@Schema(name = "SearchByConditionInput", description = "根据条件查询用户基本信息入参")
public class SearchByConditionInput implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 姓名
     */
    @Schema(name = "name", description = "姓名")
    private String name;

    /**
     * 昵称
     */
    @Schema(name = "nickName", description = "昵称")
    private String nickName;

    /**
     * 手机号
     */
    @Schema(name = "phone", description = "手机号")
    private String phone;

    /**
     * 邮箱
     */
    @Schema(name = "email", description = "邮箱")
    private String email;

    /**
     * 第几页
     */
    @Schema(name = "pageNum", description = "第几页")
    private Integer pageNum = 1;

    /**
     * 每页条数
     */
    @Schema(name = "pageSize", description = "每页条数")
    private Integer pageSize = 10;

}
